<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>

<%@ page import="net.lwf.web.constant.IWebConstant"%>

  <table border="0" align="center" width="100%">
       <tr>
           <td align="center">
              <table border="0" width="100%">
                <logic:present name="<%=IWebConstant.WEB_USER%>" scope="session">
	                <tr>
	                     <td width="25%" valign="top"> 
	                        <a href="<%=request.getContextPath()%>/home.do?action=home">
				            	<img src="<%=request.getContextPath()%>/image/lwf_logo.jpg" border="0">
			              	</a>   	                     
	                     </td>
	                     <td width="40%">  
	                     	<table width="100%" border="0">
	                    		<tr>
	                    			<td width="100%" valign="top">  
	                     				Hello! <nested:write name="<%=IWebConstant.WEB_USER%>" property="user.userId" scope="session"/>
	                     			</td>
	                    		</tr>
	                    		<tr>
	                    			<td width="100%" >&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td  width="100%">&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td  width="100%">&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td  width="100%">&nbsp;</td>
	                    		</tr>	                    			                    			                    		
	                    		<tr valign="bottom">
									<td  width="100%" class="formValue" align="center">
					                          Click
					                          <a href="<%=request.getContextPath()%>/home.do?action=showpref">
									              here
								              </a>
								              to change/view the preferences                     	
									</td>	                    		
	                    		</tr>	
	                     	</table>
	                     </td>	 
	                     <td width="35%" valign="top">
	                     	<table width="100%" border="0">
	                    		<tr>
	                    			<td width="100%" valign="top">&nbsp;</td>
	                    		</tr>
	                    		<tr>
	                    			<td width="100%" >&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td  width="100%">&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td  width="100%">&nbsp;</td>
	                    		</tr> 
	                    		<tr>
	                    			<td width="100%">&nbsp;</td>
	                    		</tr>	                    			                    			                    		
	                    		<tr valign="bottom">
	                    		    <td width="100%">
		                    		    <table border="0" width="100%">
		                    		    	<tr>
		                    		    		<td align="left" width="50%">
		                    		    			<a href="<%=request.getContextPath()%>/sitemap.do?action=home">Site Map</a>
		                    		    		</td>
		                    		    		<td align="right" width="50%">
						                          <a href="<%=request.getContextPath()%>/logout.do?action=logout" ><img src="<%=request.getContextPath()%>/image/button/logoutup.png" border="0"></a>                     	
		                    		    		</td>
		                    		    	</tr>
		                    		    </table>	                    		    
	                    		    </td>	                    		
	                    		</tr>	
	                     	</table>	                     	
	                     </td> 	                                         
	                </tr>                
                </logic:present>
                <logic:notPresent name="<%=IWebConstant.WEB_USER%>" scope="session">
	                <tr>
	                	 <td width="25%" align="center">
	                        <a href="<%=request.getContextPath()%>/home.do?action=home">
				            	<img src="<%=request.getContextPath()%>/image/lwf_logo.jpg" border="0">
			              	</a>                	
	                	 </td>
	                	 <td width="40%">&nbsp;</td>
	                     <td width="35%">&nbsp;</td>  	                
	                </tr>
	            </logic:notPresent>                    
          	  </table>
          </td>
       </tr>                
   </table>

   
   